/**
 * @作者 伟子涵
 * @微信公号 搬砖暗夜码农
 * @开源项目 $ https://gitee.com/zhouwei5208888
 * @我的博客 $ http://itzhouwei.com
 * @创建时间 2023/12/21  14:17
 */
package com.itzhouwei.minis.beans.factory.config;

import lombok.Data;

/**
 * @description:
 * <beans>
 *     <bean id="aservice" class="com.minis.test.AServiceImpl">
 *         <constructor-arg type="String" name="name" value="abc"/>
 *         <constructor-arg type="int" name="level" value="3"/>
 *         <property type="String" name="property1" value="Someone says"/>
 *         <property type="String" name="property2" value="Hello World!"/>
 *     </bean>
 * </beans>
 * @author：zw，微信：yingshengzw
 * @date: 2023/12/21  14:17
 * @Copyright： 公众号：搬砖暗夜码农 | 博客：https://itzhouwei.com - 沉淀、分享、成长，让自己和他人都能有所收获！
 */
@Data
public class ArgumentValue {

    private Object value;
    private String type;
    private String name;

    public ArgumentValue(Object value, String type) {
        this.value = value;
        this.type = type;
    }

    public ArgumentValue(Object value, String type, String name) {
        this.value = value;
        this.type = type;
        this.name = name;
    }
}
